 /*
 * UMLSynch - VPSDE plugin part
 * http://umlsynch.googlecode.com
 *
 * Copyright 2008-2010, Evgeny Alexeyev
 * Licensed under the EPL - v1.0
 * http://www.eclipse.org/legal/epl-v10.html
 *
 */

package com.googlecode.umlsynch.vpsde.rpc;

import com.googlecode.umlsynch.rpc.base.IDebug;
import com.vp.plugin.ApplicationManager;
import com.vp.plugin.ViewManager;

public class TVPDebug implements IDebug {

	private ViewManager vm;

	public TVPDebug() {
		vm = ApplicationManager.instance().getViewManager();
	}
	
	@Override
	public void Debug(String str) {
		vm.showMessage("Debug:" + str);		
	}

	@Override
	public void Error(String str) {
		vm.showMessage("Error:" + str);
	}

	@Override
	public void Note(String str) {
		vm.showMessage("Note:" + str);
	}

	@Override
	public void Warning(String str) {
		vm.showMessage("Warning:" + str);
	}
}
